package com.cskaoyan.bean;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 
 * @date 2020/12/6 19:11
 */

/**
 * 搜索历史表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SearchHistory {
    private Integer id;

    private Integer userId;

    private String keyword;

    private String from;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date addTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    private Boolean deleted;
}